package com.framework.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 功能描述: 登录表单
 *
 * @author ck
 * @date 2018/8/28 19:29
 */
@Data
@ApiModel(value = "登录表单",description="用户对象user")
public class LoginForm {
	@ApiModelProperty(value = "手机号",required = true)
	@NotBlank(message = "手机号不能为空")
	private String phone;

	@ApiModelProperty(value = "密码",required = true)
	@NotBlank(message = "密码不能为空")
	private String password;

}
